'use strict'

class mylike{

    constructor () {
        this.param='/'
    }
    async post(c){
        let data=c.body.toString();
        await c.service.model.mylike.post(data);
    }
    async get(c){
        let data=c.body.toString();
        await c.service.model.mylike.get();
        c.send('留言成功')
    }
}

module.exports = mylike
